-- GENERATED SPELL FOR [Elder Razormaw] --


function spell0_1019(pUnit, Event) --@Tendon Rip,n/a--
pUnit:FullCastSpellOnTarget(3604,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_1019', 8000, 1)
end

function Sorts_1019(pUnit, Event)
local choix_sorts_1019 = math.random(0, 0)
if choix_sorts_1019 == 0 then
pUnit:RegisterEvent('spell0_1019', 1, 1)
end
end

function mob1019_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_1019', math.random(1500, 3000), 1)
end

function mob1019_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob1019_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob1019_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(1019, 1, 'mob1019_Action')
RegisterUnitEvent(1019, 2, 'mob1019_Leave')
RegisterUnitEvent(1019, 3, 'mob1019_Kill')
RegisterUnitEvent(1019, 4, 'mob1019_Die')
